package cn.com.cpic.insurance.rulecheck.core.parameter;

import cn.com.cpic.insurance.rulecheck.core.AbstractTokenable;

/**
 * 
 * 
 * @author 代波
 * @since 2011-8-14
 */
public final class SimpleParameterDefine extends AbstractTokenable<String> implements ParameterDefine {
	private static final long serialVersionUID = -6711616561568073350L;

	private final Type type;
	private final Scope scope;
	private String name;
	private String desc;

	public SimpleParameterDefine(String token, Type type, Scope scope) {
		super(token);
		this.type = type;
		this.scope = scope;
	}

	public String getName() {
		return name;
	}

	public String getDesc() {
		return desc;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Type getType() {
		return type;
	}

	public Scope getScope() {
		return scope;
	}
}
